/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.invoice.busines;

import com.invoice.busines.dto.SubcategoriaDTO;
import com.invoice.exceptions.InvoiceException;
import java.util.List;

/**
 *
 * @author meli
 */
public interface SubcategoriaBO {
    
   public SubcategoriaDTO addSubcategoria(SubcategoriaDTO subcategoriaDTO) throws Exception;
   public void deleteSubcategoria(SubcategoriaDTO subcategoriaDTO) throws Exception;
   public void updateSubcategoria(SubcategoriaDTO subcategoriaDTO) throws InvoiceException;
   public void updateSubcategoria(SubcategoriaDTO subcategoriaDTO, Integer Subcateg) throws Exception;
   public SubcategoriaDTO findSubcategoria(String idSubcategoria) throws Exception;
   public List<SubcategoriaDTO> findAll() throws Exception;
   public List<SubcategoriaDTO> findSubcatProductoAll() throws Exception ;
   public List<SubcategoriaDTO> findSubcatTipoUnidadAll() throws Exception ;
   public List<SubcategoriaDTO> findSubcatTipoUsuarioAll() throws Exception;
   public List<SubcategoriaDTO> findConfigImpresorasAll() throws Exception;
   public List<SubcategoriaDTO> findConfigDatosFijosAll() throws Exception;
   public List<SubcategoriaDTO> findSubcatAll() throws Exception;
   public SubcategoriaDTO addSubcategoriaM(SubcategoriaDTO subcategoriaDTO) throws InvoiceException;
}
